<?php

use yii\db\Migration;

class m170627_022134_alter_guild extends Migration
{
    public function up()
    {
        $this->addColumn('{{%guild}}', 'user_id', 'int(32) DEFAULT 0 COMMENT "公会管理员ID"');
    }

    public function down()
    {
        $this->dropColumn('{{%guild}}', 'user_id');
    }
}
